import request from "./request.js" // 引入


// 热门搜索
export const getSearch = ()=> request({url:'/search/hot'})

// 搜索数据 /search/suggest?keywords=1
export const getSearchListOne = (data)=> request({url:`/search/suggest?keywords=${data}`})
export const getSearchList = (data)=> request({url:`/search?keywords=${data}`})

// 点击数据时获取mp3
export const getMp = (data)=>request({url:`/song/url?id=${data}`})